<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>登录</title>
<style type="text/css">
body {
	padding: 0;
	margin: 0;

}

.box {
	min-height: 100vh;
	background-color: #6b473c;
	display:flex;
	flex-direction: column;
	justify-content: center;
}

.login {
	margin: auto;
	width: 300px;
	height: 200px;
	background-color: #eee;
	padding: 20px;
}

.login h3 {
	text-align: center;
}

.login form p label {
	display: inline-block;
	width: 100px;
	text-align: right;
}
button{
    padding: 8px  25px;
}
</style>

</head>
<body>
	<div class="box">
		<div class="login">
			<h3>用户登录</h3>
			<form action="login" method="post">
				<p>
					<label>用户：</label><input type="text" name="username">
				</p>
				<p>
					<label>密码：</label><input type="password" name="pwd">
				</p>
				<p style="text-align: center;">
					<button type="submit">登录</button>
				</p>
			</form>
		</div>
	</div>
</body>
</html>